package com.example.xzs.admin.userlogin.service;

import com.baomidou.mybatisplus.annotation.TableField;
import com.example.xzs.admin.userlogin.JsoResult.JsonResult;
import com.example.xzs.admin.userlogin.pojo.authentication.CurrentPrincipal;
import com.example.xzs.admin.userlogin.pojo.entiy.User;
import com.example.xzs.admin.userlogin.pojo.param.UserLogin;
import com.example.xzs.admin.userlogin.pojo.param.UserRegistration;

import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;

public interface IUserService {
     void insertUserData(UserRegistration registration);

     String login(UserLogin userLogin, String remoteAddr, String userAgent);

     void logout(HttpServletRequest request, HttpServletResponse response);

}
